<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>约健</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    {include file="public:headfile"}
</head>

<body class="hold-transition sidebar-mini">
<div class="wrapper">

    {include file="public:head"}

    {include file="public:slidemenu"}

    <div class="content-wrapper">

        <section class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h1>晒图</h1>
                    </div>
                </div>
            </div>
        </section>



        <section class="content">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-header">
                            <h3 class="card-title">晒图详情列表</h3>
                        </div>
                        <!-- /.card-header -->
                        <div class="card-body">
                            <table id="example2" class="table table-bordered table-hover">

                                <tr>
                                    <th>发布人</th>
                                    <th>发布时间</th>
                                    <th>简介</th>
                                    <th>图片</th>
                                </tr>


                                <tr>
                                    <td>{$shaitu.uname}</td>
                                    <td>{$shaitu.sreleasetime}</td>
                                    <td>{$shaitu.smessage}</td>
                                    <td>
                                        <img   style="width: 70px;height:70px" src="__STATIC__/img/shaitu/{$shaitu.spic}" alt="">
                                    </td>
                                </tr>

                            </table>
                        </div>
                        {$list->render()}
                        <!-- /.card-body -->
                    </div>
                    <!-- /.card -->
                    <div class="card">
                        <div class="card-header">
                            <h3 class="card-title">评论列表</h3>
                        </div>
                        <!-- /.card-header -->
                        <div class="card-body">
                            <table id="" class="table table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>编号</th>
                                    <th>发布人</th>
                                    <th>评论内容</th>
                                    <th>发布时间</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody  >
                                {volist name="list" id="vo"}
                                <tr>
                                    <td>{$vo.did}</td>
                                    <td>{$vo.uname}</td>
                                    <td>{$vo.dcontent}</td>
                                    <td>{$vo.dtime}</td>
                                    <td>
                                        <button>
                                            <a style="color: black" href="{:url('SuperAdmin/ShaituController/delete',['id'=>$vo.did])}">
                                                删除
                                            </a>
                                        </button>
                                    </td>
                                </tr>
                                {/volist}
                                </tbody>
                            </table>
                        </div>
                        {$list->render()}
                        <!-- /.card-body -->
                    </div>
                    <!-- /.card -->
                </div>
                <!-- /.col -->
            </div>
            <!-- /.row -->
        </section>


    </div>
</div>

{include file="public:footfile"}

</body>

</html>